package com.ipzoe.app.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "活动返回参数")
public class ActivityResponseDTO {

    @ApiModelProperty(value = "活动id")
    private Long id;

    @ApiModelProperty(value = "活动名称")
    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "报名截止时间")
    private Date endTime;

    @ApiModelProperty(value = "活动城市")
    private Long cityCode;

    @ApiModelProperty(value = "活动权限")
    private Integer permission;

    @ApiModelProperty(value = "活动状态")
    private Integer status;

    /** logo图片 */
    @ApiModelProperty(value = "logo图片")
    private String logoUrl;

    @ApiModelProperty(value = "活动简介")
    private String introduction;

    @ApiModelProperty(value = "活动详细")
    private String info;

    @ApiModelProperty(value = "浏览次数")
    private Integer pvNum;

    @ApiModelProperty(value = "报名人数")
    private Integer signupNum;

    @ApiModelProperty(value = "最新时间")
    private Date updateTime;

}
